home *** CD-ROM | disk | FTP | other *** search
/ CU Amiga Super CD-ROM 23 / CU Amiga - Super CD-ROM 23 (June 1998).iso / CUCD / Programming / AMOSList / AMOSLIST / text0121.txt < prev    next >
Encoding:
Text File  |  1998-04-01  |  544 b   |  23 lines

  1. Hey again, 
  2. I have a little question..
  3. why does this cause me to get an "Out of stack space" Error and what can
  4. I
  5. do to remedy it?
  6. Thanx in advatz!!! :)
  7.  
  8. You can always increase the stack space with the set buffer command
  9. but that will not solve the problem. It will only eat more memory
  10. but its takes a little longer before the error ocurse. 
  11. My advice is that you dont call a procedure within another procedure.
  12. Do a loop outside the procedures instead. You can exit the procedures
  13. with the 
  14. pop proc command.
  15.  
  16.  
  17.  
  18. do
  19.   proc s1
  20.   proc s2
  21. loop
  22.  
  23.